{% include header.tpl %}

<ul class="breadcrumb">
	<li>Browsing:</li>
	{% set i = 0 %}
	{% while i < len(filter) %}
		{% if i == len(filter)-1 %}
				<li class="active"><a href="#">{% raw filter[i].description() %}</a></li>
				<li>&nbsp;<span class="muted">({{ len(items)}} matching items)</span></li>
		{% else %}
				<li><a href="#">{% raw filter[i].description() %}</a> <span class="divider">&gt;</span></li>
		{% end %}
	{% set i = i + 1 %}
	{% end %}
</ul>

{% if len(items) == 0 %}
<h3>No matching items!</h3>
{% end %}

{% for i in items %}
			{% module Template("snippet/knowtemark.tag", item=i) %}
{% end %}

{#
<div id="pagecount">

	<c:if test="${currentPage > 1}">
		<span class="pagenum"> <a
			href='<c:url value="/browse/notes?page=1"/>'>1</a> </span>
		...
	</c:if>

	<c:forEach items="${pagesBefore}" var="p">
		<span class="pagenum"> <a
			href='<c:url value="/browse/notes?page=${p}"/>'>${p}</a> </span>
	</c:forEach>

	<span id="currentPage">${currentPage}</span>

	<c:forEach items="${pagesAfter}" var="p">
		<span class="pagenum"> <a
			href='<c:url value="/browse/notes?page=${p}"/>'>${p}</a> </span>
	</c:forEach>

	<c:if test="${lastPage > currentPage }">
	...
	<span class="pagenum"> <a
			href='<c:url value="/browse/notes?page=${lastPage}"/>'>${lastPage}</a>
		</span>
	</c:if>
</div>
#}
{% include footer.tpl %}
